<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="个人博客系统">
	<meta name="author" content="haruko">

	<title>个人博客系统</title>

	<!-- Font Awesome icons-->
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
	<!-- Bootstrap core CSS 标准库-->
	<link href="https://cdn.bootcss.com/twitter-bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet">
	<link href="https://getbootstrap.com/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
</head>
<script src="http://code.jquery.com/jquery-latest.js"></script>

<body onload="GetRequest()">
	

	<!-- Begin page content -->
	<div class="container text-center">
		<h1>error!</h1>
		<p id="errortext"></p>
	</div>
	<footer class="footer">
    <div class="footer-container">
        
    </div>
</footer>
</body>
	<Script language="javascript">
		function GetRequest() {
			var url = location.search; //获取url中"?"符后的字串   
			if (url == "?parameter%20invalid")
				document.getElementById("errortext").innerHTML = "参数非法";
			if (url == "?db%20error")
				document.getElementById("errortext").innerHTML = "数据库错误";
			if (url == "?sign%20in%20error")
				document.getElementById("errortext").innerHTML = "登陆错误";
			if (url == "?system%20error")
				document.getElementById("errortext").innerHTML = "系统错误";
			if (url == "?no%20such%20user")
				document.getElementById("errortext").innerHTML = "没有当前用户";
			if (url == "?verificationCode%20not%20match")
				document.getElementById("errortext").innerHTML = "验证码不匹配";
			if (url == "?verificationCode%20timeout")
				document.getElementById("errortext").innerHTML = "验证码超时";
			if (url == "?confirm%20invalid")
				document.getElementById("errortext").innerHTML = "二次验证不一致";
			if (url == "?incorrect%20number%20of%20password")
				document.getElementById("errortext").innerHTML = "用户名或密码错误";
			if (url == "?password%20error")
				document.getElementById("errortext").innerHTML = "密码错误";
		}
	</script>
</body>

</html>